package com.maven.front.dto;

import com.maven.front.bean.EduComment;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EduCommentDto extends EduComment implements java.io.Serializable{

    //用户邮箱
    private String email;

    private String showName;

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    //头像地址
    private String picImg;
    //课程名称
    private String courseName;

    private String userName;

    @Override
    public String toString() {
        return "EduCommentDto{" +
                "email='" + email + '\'' +
                '}';
    }
}
